package com.wms.service.Employees;

import com.wms.common.Response;
import com.wms.domain.CompanyDomain;
import com.wms.domain.LoginDomain;
import com.wms.domain.RoleDomain;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface EmployeesService {
    public Object getLoginPage(LoginDomain login);

    public Object add(LoginDomain login);

    public Object deleteEmp(Long id);

    public Object changeEmpStat(Long id,Long emp_stat);
    public Object login(HttpServletRequest request,HttpServletResponse response, String id, String password);



    //Role
    public Object getRolePage(RoleDomain roleDomain);

    public Object addRole(RoleDomain roleDomain);

    public Object deleteRole(Long id);

}
